package com.dream.technology.db.dao;

import com.dream.technology.db.entity.RcCustomerTag;
import com.dream.technology.db.entity.RcCustomerTagQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RcCustomerTagMapper {
    int countByExample(RcCustomerTagQuery example);

    int deleteByExample(RcCustomerTagQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(RcCustomerTag record);

    int insertSelective(RcCustomerTag record);

    List<RcCustomerTag> selectByExample(RcCustomerTagQuery example);

    RcCustomerTag selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RcCustomerTag record, @Param("example") RcCustomerTagQuery example);

    int updateByExample(@Param("record") RcCustomerTag record, @Param("example") RcCustomerTagQuery example);

    int updateByPrimaryKeySelective(RcCustomerTag record);

    int updateByPrimaryKey(RcCustomerTag record);

	List<RcCustomerTag> queryCustomerTagByItem(@Param("classifyType") int classifyType, @Param("customerTagItem") Long customerTagItem);
	
}